package com.longlong.controller.frontDeskApi;


import com.longlong.service.impl.AccessTokenGzhServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;


@RestController
@RequestMapping("/accessToken")
public class AccessTokenGzhController {

    @Autowired
    private AccessTokenGzhServiceImpl accessTokenGzhService;

    @RequestMapping
    public String getAccessToken() throws IOException {
        return accessTokenGzhService.getAccessToken();
    }

}
